Respiratory variability before and after surgery